package org.example.exp3.exam4;

public class LightBCommand extends Command {
   private RoomBLight lightB = new RoomBLight();
   
   public void control() {
      lightB.switchState();
   }
}